# 创建 application 静态库
add_library(application STATIC
    robot_config.c
)

# 设置包含目录
target_include_directories(application
    PUBLIC
        ${CMAKE_CURRENT_SOURCE_DIR}
)

# 链接必要的库
target_link_libraries(application stm32cubemx tools modules)

# 将 application 添加到主项目
target_link_libraries(${PROJECT_NAME} application)